package com.qm.console.dao.mapper;

import com.qm.console.dao.model.PostAuditDO;
import com.qm.console.dao.model.PostAuditDOWithBLOBs;

import java.util.List;
import java.util.Map;
import java.util.Set;

public interface PostAuditDOMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(PostAuditDOWithBLOBs record);

    int insertSelective(PostAuditDOWithBLOBs record);

    PostAuditDOWithBLOBs selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PostAuditDOWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(PostAuditDOWithBLOBs record);

    int updateByPrimaryKey(PostAuditDO record);

    int total(Map<String, Object> queryMap);

    int isExist(Map<String, Object> queryMap);

    int updateTime(Map<String, Object> queryMap);

    List<PostAuditDOWithBLOBs> list(Map<String, Object> queryMap);

    Set<String> listPostId(Map<String, Object> queryMap);

}
